package com.njworkorder.Entity;

import com.baomidou.mybatisplus.annotation.*;

import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName insurance_registration
 */
@TableName(value ="insurance_registration")
@Data
public class InsuranceRegistration {

    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 保险名称
     */
    private String insuranceName;

    /**
     * 投保单号
     */
    private String policyNumber;

    /**
     * 保险费用
     */
    private BigDecimal insuranceCosts;

    /**
     * 保险公司
     */
    private String insuranceCompany;

    /**
     * 保险购买日期
     */
    private Date insurancePurchaseDate;

    /**
     * 保险到期日期
     */
    private Date insuranceExpirationDate;

    /**
     * 附件
     */
    private String appendixes;

    /**
     * 创建者
     */
    private String createApId;

    @TableField(fill = FieldFill.INSERT)
    private String status;

    @TableField(fill = FieldFill.INSERT)
    private Date publishTime;
}